<?php

if(!Yii::app()->user->id){
$this->menu=array(
	array('label'=>'List Usuario', 'url'=>array('index')),
	array('label'=>'Manage Usuario', 'url'=>array('admin')),
);

echo '<h1>Registro</h1>';

echo $this->renderPartial('_form', array('model'=>$model)); 
}
else
	$this->redirect(array('/site/index'));
?>